<%@ page language="java" import="java.util.Date" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<s:head/>
    <title>login</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
  </head>
  
  <body>
    <center>
    	<s:actionerror/>
    	<s:form name="loginForm" method="post" action="login">
    		<s:label value="Email:"/><s:textfield name="email" size="20"></s:textfield><br/><br/>
    		<s:label value="密 码:"/><s:password name="pwd" size="20"></s:password><br/><br/>
    		<s:label value="验证码:"/><s:textfield name="valCode" size="20" value=""/><img id="vc" src="vc.jpg?n=<%=new Date() %>"/><a href="#" onclick="refreshVc()">看不清？</a><br/><br/>
    		<script language="javascript" type="text/javascript">
    			function refreshVc() {
    				document.getElementById("vc").src="vc.jpg?n=" + new Date();
    			}
			</script>
			<s:submit value="登 入"/>
    	</s:form>
    </center>
  </body>
</html>
